<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets">
	<f:view>
		<h:form id="formmenu">
			<div id="menu">
				<ul class="menu">
					<li><h:commandLink action="welcome" styleClass="link">
							<span>Pagina Principal</span>
						</h:commandLink> <f:subview rendered="#{pageControl.funcionario.administrador}"
							id="paghide">
							<div>
								<ul>
									<li><h:commandLink action="gerenciar">
											<span>Gerenciamento</span>
										</h:commandLink></li>

									<li><h:commandLink action="upload">
											<span>Upload</span>
										</h:commandLink></li>
								</ul>
							</div>
						</f:subview></li>

					<li><h:commandLink action="procurar" styleClass="link">
							<span>Procurar</span>
						</h:commandLink></li>
					<li><a href="#"><span>Categoria</span></a>
						<div>
							<ul>
								<li><a href="#" class="parent"><span>LINUX</span></a>
									<div>
										<ul>
											<li><h:commandLink
													rendered="#{pageControl.funcionario.administrador or pageControl.funcionario.suporte }"
													action="#{pageControl.mudarPagina('categoria') }">
													<span>Edubuntu</span>
												</h:commandLink></li>
											<li><a href="#"><span>Sub Item 1.2</span></a></li>
										</ul>
									</div></li>
								<li><a href="#" class="parent"><span>Sub Item 2</span></a>
									<div>
										<ul>
											<li><a href="#"><span>Sub Item 2.1</span></a></li>
											<li><a href="#"><span>Sub Item 2.2</span></a></li>
										</ul>
									</div></li>
								<li><a href="#"><span>Sub Item 3</span></a></li>
								<li><a href="#"><span>Sub Item 4</span></a></li>
								<li><a href="#"><span>Sub Item 5</span></a></li>
								<li><a href="#"><span>Sub Item 6</span></a></li>
								<li><a href="#"><span>Sub Item 7</span></a></li>
							</ul>
						</div></li>

					<li><h:commandLink
							action="#{pageControl.mudarPagina('wiki') }" styleClass="link">
							<span>Help</span>
						</h:commandLink></li>
					<li><h:commandLink action="#{pageControl.logoff }"
							styleClass="link">
							<span>Logoff</span>
						</h:commandLink></li>
				</ul>
			</div>
		</h:form>
	</f:view>
</ui:composition>